﻿using Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace Core
{
    public static class CoreExtend
    {
        public static TimeEvent Bind(this TimeEvent data, UnityEngine.Object unityObject)
        {
            data.isCancelHandler = () => { return unityObject == null; };
            return data;
        }
    }
}
